﻿<!doctype html>
<html>
<head>
    <title>微街秀 > 付款分享</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link href="plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/css.css">
    <link rel="stylesheet" type="text/css" href="css/MakeresultDetail.css">
    <script src="js/ajax-data.js" type="text/javascript"></script>
    <script src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="js/base.js" type="text/javascript"></script>
    <script src="js/dialog.js" type="text/javascript"></script>
</head>
<body  style="width: 100%; height: 100%; background-color: white;">
 <div>
        <div class="wamtop">
            <div class="topleft" onclick="javascript:window.location.href='Makead_1.html'">
                <img src="img/5.jpg" /></div>
            <div class="topcententxt title">
                付款分享
            </div>
        </div>
        <div class="tg_select">
            <div style="width: 100%; border-bottom: 1px #ccc solid; background: white;">
                <div class="floatLeft">
                    广告主题：</div>
                <div style="width: 95%; padding-top: 10px; line-height: 30px; margin-left: 90px;    margin-bottom: 10px;
                    color: #909090; width: auto; padding-right: 20px;">
                    <a href="javascript:" class="a_title"></a>
                </div>
            </div>
            <div class="selTag">
                <div class="floatLeft">
                    分享数量：</div>
                <div class="floatRgiht"><span class="op_total">0</span>次</div>
            </div>
            <div class="selTag">
                <div class="floatLeft">
                    均&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 价：</div>
                <div class="floatRgiht"><span class="op_price">0</span>元/次</div>
            </div>
            <div class="selTag">
                <div class="floatLeft">
                    订单总价：</div>
                <div class="floatRgiht date"><span class="total">0</span>元</div>
            </div>
            <div class="nicksave" style="width: 95%; margin: 10% auto 0 auto; line-height: 40px; height: 40px;color: white; text-align: center; background-color: #F37B0B; border-radius: 10px;font-size: 16px; }">
                提交订单
            </div>
        </div>
    </div>

        <div class="backimg-panl buzhou hide">
        <div class="font-content" style="top: 35%;">
            <div class=" text-center" style="position: absolute; left: 27%; top: -85%;">
                <p>
                    提交订单</p>
                <p>
                    支付广告费用
                </p>
                <p>
                   <button class=" btn btn-color btn-default " onclick="SetBZ(33)">
                        知道了</button></p>
            </div>
            <img src="img/buzhou/3_11.png" class=" center-block" />
        </div>
    </div>
    <script>
        ShowBZ(33); //显示引导
        var page = 1;
        $(document).ready(function () {
            load(page);
            $(".nicksave").bind("click",submits);
        });
        var id = 0, balance = 0, price = 0, sys_price = 0;
        function load(page) {
            if (!islogin()) { window.location.href = 'login.html'; return; }
            id = getQueryString("id");
            AjaxStart("ajax/fc_article.ashx?getsetting", "id=" + id, function (data) {
                loadhtml(data.item);
            });
        }
        function loadhtml(item) {
            $(".a_title").html(item["title"]);
            $(".op_total").html(item["op_total"]);
            $(".op_price").html(item["op_price"]);
            price = parseFloat(item["op_total"]) * parseFloat(item["op_price"]);
            $(".total").html(parseFloat(item["op_total"] * item["op_price"]).toFixed(2));      //订单总额
            //$(".balance").html(balance); //余额
            //loadBalance();
        }

        function loadBalance() {
            balance = 0;
            if (balance < price)
                sys_price = balance;
            else
                sys_price = price;
            $(".sys_price").html(sys_price);
        }

        function submits() {            
            window.location.href = 'MakeFX_2.html?id=' + id ;
        }
    </script>
</body>
</html>
